package com.dzx.currentency.publish;

/**
 * @author DuanZhaoXu
 * @ClassName:
 * @Description:
 * @date 2018年11月19日 09:43:30
 */

/**
 * 饿汉模式
 */
public class SingletonExample2 {


    private SingletonExample2() {

    }

    private static SingletonExample2 singletonExample2 = new SingletonExample2();

    public static SingletonExample2 getInstance() {
        return singletonExample2;
    }
}
